package com.demo;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Run with: {@code -Dcsp.sentinel.api.port=8723 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=web-demo}.
 */
@SpringBootApplication(scanBasePackages = "com.demo.*")
@EnableDubbo
@Slf4j
public class SentinelDubboUserProvider02 {
    public static void main(String[] args) {
        SpringApplication.run(SentinelDubboUserProvider02.class, args);
        log.info("启动成功...");
    }
}
